package com.flying.invest.assets;

import com.flying.framework.annotation.ConstantEnum;

public enum RiskLevel implements ConstantEnum<Integer> {
	SAFE(0, "安全"), LOW(1, "低"), MIDDLE(2, "中"), MID_HIGH(3, "中高"), HIGH(4, "高");

	public final int value;
	public final String remarks;

	RiskLevel(int value, String remarks) {
		this.value = value;
		this.remarks = remarks;
	}
	
	@Override
	public Integer value() {
		return this.value;
	}

	@Override
	public String text() {
		return remarks;
	}
}
